﻿namespace Coleotrack.Data.Contracts
{
    public class RuleViolation
    {
        public string PropertyName
        {
            get; set;
        }

        public string ErrorMessage
        {
            get; set;
        }

        public RuleViolation()
        {
            
        }

        public RuleViolation(string propertyName, string errorMesage)
        {
            PropertyName = propertyName;
            ErrorMessage = errorMesage;
        }
    }
}
